package customerEnter.Frame.Enum;

import java.util.Collection;
import java.util.Map;

import javax.persistence.OneToMany;

import customerEnter.Frame.bean.IcyDataTemplateDeleteBatchObject;
import customerEnter.Frame.bean.IcyDataTemplateDeleteObject;
import customerEnter.Frame.bean.IcyDataTemplateInsertBatchObject;
import customerEnter.Frame.bean.IcyDataTemplateInsertObject;
import customerEnter.Frame.bean.IcyDataTemplateUpdateBatchObject;
import customerEnter.Frame.bean.IcyDataTemplateUpdateObject;
import customerEnter.Frame.bean.IcyListMap;
import customerEnter.Frame.bean.IcyListPageMap;
import customerEnter.Frame.bean.ListObjects;

/**
 * 类名称：FrameDataQueryUse
 * 
 * 类描述：sql查詢完后 返回的數據形式
 * 
 * 创建人：dy
 * 
 * 创建时间：2017-4-8 下午3:36:20
 * 
 */
public enum FrameDataSqlDMLUse {

	SelectList(Collection.class),

	selectPage(Collection.class),

	SelectMap(Map.class),

	SelectListMap(IcyListMap.class),

	SelectListPageMap(IcyListPageMap.class),

	SelectString(String.class),

	SelectListObjects(ListObjects.class),

	SelectInteger(Integer.class),

	bean(Object.class),

	delete(IcyDataTemplateDeleteObject.class),

	deleteBath(IcyDataTemplateDeleteBatchObject.class),

	Insert(IcyDataTemplateInsertObject.class),

	InsertBath(IcyDataTemplateInsertBatchObject.class),

	Update(IcyDataTemplateUpdateObject.class),

	SelectMayAndOne(OneToMany.class),

	UpdateBath(IcyDataTemplateUpdateBatchObject.class);

	private Class<?>	value;

	private FrameDataSqlDMLUse(Class<?> Value) {
		this.value = Value;
	}

	public static void main(String[] args) {
		System.out.println(long.class.getName());
	}

	/**
	 * 獲取值
	 */

	public Class<?> getValue() {
		return value;
	}
}
